package com.otod.kb.main.mapper;

import org.apache.ibatis.annotations.Param;

import com.otod.base.mapper.BaseMapper;
import com.otod.base.support.spring.mybatis.annotation.MyBatisRepository;
import com.otod.kb.main.vo.KbContentVo;

@MyBatisRepository
public interface  KbContentMapper extends BaseMapper<KbContentVo>{
	/**
	 * 通过知识库ID查询
	 * @param kbId
	 * @return
	 */
	public KbContentVo getBykbId(String kbId);
	/**
	 * 通过kbId修改知识库内容 状态
	 * @param kbId
	 */
	public void updateContentStatus(@Param("kbId")String kbId,@Param("status")String status);
}